package com.wxd.modules.function.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 工作经验
 */

@Data
@TableName("work_experience")
public class WorkExperience implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long id;
    /**
     * 员工ID
     */
    private Long empId;
    /**
     * 工作单位
     */
    private String company;
    /**
     * 职位
     */
    private String position;
    /**
     * 工作开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
    /**
     * 离职时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;
    /**
     * 备注
     */
    private String remarks;

}
